<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>其他作者</title>
    <link href="./bootstrap-3.3.7-dist/css/bootstrap.min.css" rel=" stylesheet">
    <script src="./js/jquery-3.4.1.min.js"></script>
    <script src="./bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
    <style th:include="include/navstyle :: styletwo"></style>
    <style th:include="include/footer :: style"></style>
    <link href="./css/user.css" rel=" stylesheet">
</head>
<body>
        <header>
            <nav th:include="include/navstyle :: nav"></nav>
        </header>
        <section>
            <div class="user">
                <table class="table table-hover">
                    <tr>
                        <th style="text-align: center">序号</th>
                        <th style="text-align: center">名称</th>
                    </tr>
                    <tr th:each="user : ${list}">
                        <td th:text="${user.id}" style="width: 10em;text-align: center;"></td>
                        <td style="text-align: center">
                            <a th:href="@{/work(id=${user.id},name=${user.name})}" th:text="${user.name}" id="admin"></a>
                        </td>
                    </tr>
                </table>
            </div>
        </section>
        <footer th:include="include/footer :: footer"></footer>
</body>
</html>